<!-- Main Header -->
<header class="main-header">


    <!-- Logo -->
    <a href="#" class="logo" style="background: #3d4e4b">
        <!-- mini logo for sidebar mini 50x50 pixels -->
        <span class="logo-mini"><b>玖月</b>奇迹</span>
        <!-- logo for regular state and mobile devices -->
        <span class="logo-lg"><b>玖月奇迹</b>管理中心</span>
    </a>

    <!-- Header Navbar -->
    <nav class="navbar navbar-static-top" role="navigation" style="background-color: #67dada;">
        <!-- Sidebar toggle button-->
        <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button" >
            <span class="sr-only">Toggle navigation</span>
        </a>
        <!-- Navbar Right Menu -->
        <div class="navbar-custom-menu" >
            <ul class="nav navbar-nav">
                <!-- User Account Menu -->
                <li class="dropdown user user-menu">
                    <!-- Menu Toggle Button -->
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                        <!-- The user image in the navbar-->
                        {#						<img src="{{ static('img/user2-160x160.jpg') }}" class="user-image" alt="User Image">#}
                        <img src="http://img1.imgtn.bdimg.com/it/u=569253410,3116737055&fm=23&gp=0.jpg"
                             class="user-image" alt='User Image'>

                        <!-- hidden-xs hides the username on small devices so only the image appears. -->
                        <span class="hidden-xs">{{ request.user.username }}</span>
                    </a>
                    <ul class="dropdown-menu">
                        <!-- The user image in the menu -->
                        <li class="user-header" style="background-color: #67dada;">
                            {#							<img src="{{ static('img/user2-160x160.jpg') }}" class="img-circle" alt="User Image">#}
                            <img src="http://img1.imgtn.bdimg.com/it/u=569253410,3116737055&fm=23&gp=0.jpg"
                                 class="img-circle" alt='User Image'>

                            <p>
                                {{ request.user.username }}
                                <small>Member since Nov. 2017</small>
                            </p>
                        </li>
                        <!-- Menu Body -->
                        <!--<li class="user-body">-->
                        <!--<div class="col-xs-4 text-center">-->
                        <!--<a href="#">Followers</a>-->
                        <!--</div>-->
                        <!--<div class="col-xs-4 text-center">-->
                        <!--<a href="#">Sales</a>-->
                        <!--</div>-->
                        <!--<div class="col-xs-4 text-center">-->
                        <!--<a href="#">Friends</a>-->
                        <!--</div>-->
                        <!--</li>-->
                        <!-- Menu Footer-->
                        <li class="user-footer">
                            <div class="pull-left">
                                <a href="/accounts/change_password/" class="btn btn-default btn-flat">修改信息</a>
                            </div>
                            <div class="pull-right">
                                <a href="/accounts/logout/" class="btn btn-default btn-flat">登出</a>
                            </div>
                        </li>
                    </ul>
                </li>
            </ul>
        </div>
    </nav>

</header>
